/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/7/12 14:42
 * @Copyright 博为峰
 */
public class Worker {
    public String name;
    public int age;

    //alt + insert

    public Worker() {
    }

    public Worker(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public void worker(){
        System.out.println(this.name + "工作");
    }
}
